import http from "@/utils/request"
// 获取所有权限
export const getPermissionPathApi = params => http.get("/permission/getPermissionPath", {
    params
});

// 增加权限

export const addPermissionApi = params => http.post('/permission/addPermissionPath', params)


//修改权限

export const updatePermissionApi = params => http.post("/permission/updatePermissionPath", params)

//删除权限

export const deletePermissionApi = params => http.get('/permission/deletePermissionPath', {
    params
})